package legumes.client.ui.widgets.list;

import legumes.client.ui.widgets.list.item.ListItemWidget;
import com.google.gwt.user.client.ui.SimplePanel;

public class ComboOrderedListWidget extends OrderedListWidget {
	
	public ComboOrderedListWidget(){
		super();
		setStyleName("menuItemsCombo");
	}
	
	@Override
	public ListItemWidget addSeparator() {
		SimplePanel sp = new SimplePanel();
		sp.setStyleName("gbmt gbmh");
		ListItemWidget separator = new ListItemWidget(sp);
		add( separator );
		return separator;
	}
	
	@Override
	protected void setListItemWidgetClassName(ListItemWidget liw_){
		liw_.setStyleName("menuItemsCombo");
	}
}
